﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AdminStystem.Domain
{
    /// <summary>
    /// 溯源信息
    /// </summary>
    public class Traceability
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int TraceabilityId { get; set; }
        /// <summary>
        /// 商品编号
        /// </summary>
        public int GoodsId {  get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string Produce { get; set;}
        /// <summary>
        /// 保质期
        /// </summary>
        public int SafetyDay { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string LicenseNumber {  get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string Enterprise {  get; set; }
        /// <summary>
        /// 信息完善度
        /// </summary>
        public string InformationComp {  get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        public string Phtoto {  get; set; }
        /// <summary>
        /// 删除标记
        /// </summary>
        public bool IsDeleted {  get; set; }
    }
}
